Desktop extension symlinks aren't updated on snap revert
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
The desktop extensions check whether or not to symlink libraries based on the contents of $SNAP_USER_DATA/.last_revision. Because $SNAP_USER_DATA is versioned, after a snap is reverted, the desktop-launch script will check .last_revision, but it will always match the (now) current revision. This leads to broken symlinks that point to a revision more recent than the current revision (since they are not updated after a revert).
This issue also affects the ubuntu/snapcraft-desktop-helpers repository.
Evaluation history
No evaluation history available.